package com.doubi.mapper;

import com.doubi.model.sys.TSysDicChild;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 字典子级 Mapper 接口
 * </p>
 *
 * @author MrDoubi
 * @since 2019-11-10
 */

@Mapper
@Repository
public interface SysDicChildMapper extends BaseMapper<TSysDicChild> {


    /**
     * 功能描述：根据parentOid删除所有的子集
     * @author   MrDoubi 2019-06-28 15:48
     * @param parentOid     父级oid
     * @return              返回删除数量
     */
    Integer deleteAllByParentOid(String parentOid);
}
